Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly import CoreFoundation #413

Merged
merged 2 commits into from
Jun 30, 2021
Merged

Conversation

yonihemi
Copy link
Contributor

This allows TokamakDemo to be built with latest SwiftWasm 5.4 toolchain in debug mode (compiler still crashes when building for release).

BTW this import could be anywhere in the target, couldn't find a file that felt natural to include it in.

This allows TokamakDemo to be built with [latest SwiftWasm 5.4 toolchain](https://github.com/swiftwasm/swift/releases/tag/swift-wasm-5.4-SNAPSHOT-2021-06-17-a) in **debug mode** (compiler still crashes when building for release).

BTW this import could be anywhere in the target, couldn't find a file that felt natural to include it in.
@MaxDesiatov
Copy link
Collaborator

MaxDesiatov commented Jun 28, 2021

@kateinoigakukun do you think this is a good approach in the light of your recent changes to how CoreFoundation is linked in the upstream toolchain?

@MaxDesiatov MaxDesiatov added the refactor No user-visible functionality change label Jun 28, 2021
@MaxDesiatov
Copy link
Collaborator

To clarify, I remember Foundation folks saying that they plan to make CoreFoundation "private" and not available on non-Apple platforms, since its use there is very limited and may cause some issues in the future. Overall I'm leaning towards merging this as a temporary fix, but at first I would like to hear what Yuta thinks, if he's not too busy right now of course 🙂

@kateinoigakukun
Copy link
Contributor

Importing CoreFoundation is not exactly right approach, but it's ok to merge this as a temporary solution

MaxDesiatov
MaxDesiatov previously approved these changes Jun 29, 2021
Copy link
Collaborator

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaxDesiatov MaxDesiatov merged commit 2dcbc67 into TokamakUI:main Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor No user-visible functionality change
Development

Successfully merging this pull request may close these issues.

3 participants